<template>
  <div>
    哈哈哈哈哈
    <div class="index">
      <zan-button type="primary" size="small">确认付款</zan-button>
    </div>

  </div>
</template>

<script>
  import { formatTime } from '@/utils/index'
  import card from '@/components/card'

  import { mapState, mapGetters, mapActions } from 'vuex'

  export default {
    components: {
      card
    },

    data () {
      return {}
    },

    created () {

    },
    mounted () {
      console.log(this.userInfo)

      setTimeout(() => {
        this.setStoreData({
          path: ['test'],
          value: '77777'
        })
      }, 2000)


      setTimeout(() => {
        this.setStoreData({
          path: ['test'],
          value: '99999'
        })
      }, 2000)
    },
    methods: {
      ...mapActions('prpmCheck', [
        'setCurrentStep'
      ]),
      ...mapActions([
        'testStore',
        'setStoreData'
      ])
    },
    computed: {
      ...mapState([
        'userInfo'
      ]),
      ...mapGetters([
        'getStoreData'
      ])
    }
  }
</script>

<style>
  .log-list {
    display: flex;
    flex-direction: column;
    padding: 40 rpx;
  }

  .log-item {
    margin: 10 rpx;
  }
</style>
